package com.xqls.service;


import com.xqls.dal.model.Dictionary;
import com.xqls.dal.model.DictionaryWithChildren;

import java.util.List;
import java.util.Map;

public interface DictionaryService {

    public boolean addDictionary(Dictionary dictionary);

    public boolean editDictionary(Dictionary dictionary);

    public List<Dictionary> queryDictionaryByPage(Map<String, Object> map);

    public List<Dictionary> queryDictionaryByParentId( Integer parentId);

    public Dictionary queryDictionaryById( Integer id);

    public List<Dictionary> queryAllDictionary(   );

    public List<DictionaryWithChildren> queryDictionaryWithChildren(Map<String, Object> map);

    public boolean deleteDictionary( Integer ids);

	public List<Dictionary> getListByKeys(List<Integer> keyList);
	
	public List<Dictionary> selAlarmType();
}